package com.xiaomaoguai.user.dao.mybatis;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.xiaomaoguai.user.dao.UserDao;
import com.xiaomaoguai.user.model.User;

/**
 * @Description :
 * @FileName: UserDaoImpl.java
 * @Author :WeiHui.Zhang
 * @Data : 2015年8月7日 上午11:18:52
 * @Version:V1.00
 */
@Repository
public class UserDaoImpl implements UserDao {

	@Autowired
	private UserMapper userMapper;

	@Override
	public User findById(int id) {
		return userMapper.findById(id);
	}

}
